package com.wrupple.muba.common.client.activity;

import com.google.gwt.event.shared.EventBus;
import com.google.inject.Provider;
import com.wrupple.muba.common.shared.ServiceBus;
import com.wrupple.muba.common.shared.State.DesktopManager;

public class SingletonUtils {
	public static class DesktopServiceBusProvider implements Provider<ServiceBus>{

		@Override
		public ServiceBus get() {
			return AbstractDesktopModuleController.staticget().getServiceBus();
		}
		
	}
	
	public static class DesktopManagerProvider implements Provider<DesktopManager>{

		@Override
		public DesktopManager get() {
			return AbstractDesktopModuleController.staticget().getDesktopManager();
		}
		
	}
	
	public static class EventBusProvider implements Provider<EventBus>{

		@Override
		public EventBus get() {
			return AbstractDesktopModuleController.staticget().getEventBus();
		}
		
	}
	
	
}
